package com.mipo.clazztype;

public class Main {
	public static void main(String[] args) throws Exception {
//		testClass1();// 测试.class
//		testClass2();// 测试Class.forName()
//		testClass3();// 测试Object.getClass()
		
	}
	
	public static void testClass1() throws Exception {
		Class clazz = TestClassType.class;
		System.out.println("clazz1:" + clazz);
	}
	public static void testClass2() throws Exception {
		Class clazz = Class.forName("com.mipo.client.javase.clazz.TestClassType");
		System.out.println("clazz2:" + clazz);
	}
	public static void testClass3() throws Exception {
		TestClassType t = new TestClassType();
		Class clazz = t.getClass();
		System.out.println("clazz3:" + clazz);
	}
	
	
	
	
	
	
	
	
}
